﻿<h1>{$obj.obj_name|stripslashes|htmlentities}</h1><br />
<div style="margin:0px 20px 0px 20px;">
	<form id="listsearch_{$obj.obj_id}" action="" onsubmit="{strip}{literal}	xajax.request(
	{
		ccdsfun:'ContentEditorListResults'
		,ccdsclass:'ccdsContentEditor'
	},
	{
		parameters:
			[{
				{/literal}
				obj_id:{$obj.obj_id},
				parameter:xajax.getFormValues('listsearch_'+{$obj.obj_id})
				{literal}
			}]
		});{/literal}{/strip};;return false;">
		Suche: <input type="text" name="sq" value="{$parameter.sq}" onkeyup="jQuery('#submit_list_{$obj.obj_id}').trigger('click');" /> 
		<select name="listsearch_class" onchange="jQuery('#submit_list_{$obj.obj_id}').trigger('click');">
			<option value="all">alle Objekttypen</option>
			{foreach from=$classes item="class"}
				<option value="{$class.class_id}">{$class.ext_name} / {$class.class_name}</option>
			{/foreach}
		</select> 
		<select name="listsearch_range" onchange="jQuery('#submit_list_{$obj.obj_id}').trigger('click');">
			<option value="{$obj.obj_id}">in Objekten unterhalb diesem</option>
			<option value="all">in allen Objekten</option>
		</select> 
		<input id="submit_list_{$obj.obj_id}" type="submit" value="filter" />
	</form>
	<br />
	<div id="DivContentEditorListResults_{$obj.obj_id}" >
	</div>
</div>